﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace web.Controllers
{
    [CRule]
    public class CController: BaseController
    {
        [HttpGet]
        public ActionResult Login()
        {
            return View();
        }
        [AcceptVerbs(HttpVerbs.Post)]
        //[ValidateAntiForgeryToken()]
        public ActionResult Login(FormCollection form)
        {
            var dd = new JsonObj();
            dd.Message = "ddddddddddd";
            return View(dd);
        }
        [HttpGet]
        public ActionResult Register()
        {
            return View();
        }
    }
}